package com.chanct.test;

public class test9 {

	public static void main(String[] args) {
		String str = "\"我们\" 中\"";
		String str1 = "\"";
		int count = 0;
		int start = 0;
		while (str.indexOf(str1, start) >= 0 && start < str.length()) {
			count++;
			start = str.indexOf(str1, start) + str1.length();
		}
		System.out.println(str);
		System.out.println(count);
	}

}
